package main

import "fmt"

func testChannel(channel chan string, s string) {
	fmt.Println("send start " + s)
	channel <- s
}

func main() {
	fmt.Println("send start")
	myChannel := make(chan string)
	go testChannel(myChannel, "langxw")
	fmt.Println("send end")
	str := <-myChannel
	fmt.Println("receiver channel " + str)
}
